compare unary operator and binary operator